package cn.blunce.StackTest;

import java.util.Stack;

/**
 * Created by Experiment on 2016/3/25.
 */
public class StackTest {
    public static void Test() {
        Stack stack = new Stack();

        for (int i = 0; i < 10; i++)
            stack.push(new Integer(i));
        int length = stack.size();
        for (int i = 0; i < length; i++)
            System.out.println(stack.pop());
    }
}
